-- GENERATED SPELL FOR [Daggerfen Muckdweller] --


function spell0_18115(pUnit, Event) --@Paralytic Poison,n/a--
pUnit:FullCastSpellOnTarget(35201,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18115', 30000, 1)
end

function Sorts_18115(pUnit, Event)
local choix_sorts_18115 = math.random(0, 0)
if choix_sorts_18115 == 0 then
pUnit:RegisterEvent('spell0_18115', 1, 1)
end
end

function mob18115_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18115', math.random(1500, 3000), 1)
end

function mob18115_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18115_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18115_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18115, 1, 'mob18115_Action')
RegisterUnitEvent(18115, 2, 'mob18115_Leave')
RegisterUnitEvent(18115, 3, 'mob18115_Kill')
RegisterUnitEvent(18115, 4, 'mob18115_Die')
